import React from "react";
import KanbanBoard from "./KanbanBoard";

let cardList = [
  {
    id: 1,
    title: "Read a book",
    description: "must read a book",
    status: "in-progress",
    tasks: [],
  },
  {
    id: 2,
    title: "Write some code",
    description: "Write some code",
    status: "todo",
    tasks: [
      {
        id: 1,
        name: "demo 001",
        done: true,
      },
      {
        id: 2,
        name: "demo 002",
        done: false,
      },
      {
        id: 3,
        name: "demo 003",
        done: false,
      },
    ],
  },
];

function App() {
  return (
    <KanbanBoard
      cards={cardList}
      onClick={() => {
        console.log("11111111111111111");
      }}
    />
  );
}

export default App;
